// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.navigation;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("idea/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public abstract class KotlinGotoImplementationMultifileTestGenerated extends AbstractKotlinGotoImplementationMultifileTest {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/navigation/implementations/multifile/javaKotlin")
    public static class JavaKotlin extends AbstractKotlinGotoImplementationMultifileTest {
        @java.lang.Override
        @org.jetbrains.annotations.NotNull
        public final KotlinPluginMode getPluginMode() {
            return KotlinPluginMode.K1;
        }

        private void runTest(String testDataFilePath) throws Exception {
            KotlinTestUtils.runTest(this::doJavaKotlinTest, this, testDataFilePath);
        }

        @TestMetadata("ImplementJavaInnerInterface.kt")
        public void testImplementJavaInnerInterface() throws Exception {
            runTest("testData/navigation/implementations/multifile/javaKotlin/ImplementJavaInnerInterface.kt");
        }

        @TestMetadata("ImplementJavaInnerInterfaceFromUsage.kt")
        public void testImplementJavaInnerInterfaceFromUsage() throws Exception {
            runTest("testData/navigation/implementations/multifile/javaKotlin/ImplementJavaInnerInterfaceFromUsage.kt");
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/navigation/implementations/multifile/kotlinJava")
    public static class KotlinJava extends AbstractKotlinGotoImplementationMultifileTest {
        @java.lang.Override
        @org.jetbrains.annotations.NotNull
        public final KotlinPluginMode getPluginMode() {
            return KotlinPluginMode.K1;
        }

        private void runTest(String testDataFilePath) throws Exception {
            KotlinTestUtils.runTest(this::doKotlinJavaTest, this, testDataFilePath);
        }

        @TestMetadata("ImplementFunInJava.kt")
        public void testImplementFunInJava() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementFunInJava.kt");
        }

        @TestMetadata("ImplementJavaAbstractClassInKotlin.kt")
        public void testImplementJavaAbstractClassInKotlin() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementJavaAbstractClassInKotlin.kt");
        }

        @TestMetadata("ImplementJavaClassInKotlin.kt")
        public void testImplementJavaClassInKotlin() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementJavaClassInKotlin.kt");
        }

        @TestMetadata("ImplementJavaInterfaceInKotlin.kt")
        public void testImplementJavaInterfaceInKotlin() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementJavaInterfaceInKotlin.kt");
        }

        @TestMetadata("ImplementKotlinAbstractClassInJava.kt")
        public void testImplementKotlinAbstractClassInJava() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementKotlinAbstractClassInJava.kt");
        }

        @TestMetadata("ImplementKotlinClassInJava.kt")
        public void testImplementKotlinClassInJava() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementKotlinClassInJava.kt");
        }

        @TestMetadata("ImplementKotlinInterfaceInJava.kt")
        public void testImplementKotlinInterfaceInJava() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementKotlinInterfaceInJava.kt");
        }

        @TestMetadata("ImplementKotlinSAMInJavaAsLambda.kt")
        public void testImplementKotlinSAMInJavaAsLambda() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementKotlinSAMInJavaAsLambda.kt");
        }

        @TestMetadata("ImplementMethodInKotlin.kt")
        public void testImplementMethodInKotlin() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementMethodInKotlin.kt");
        }

        @TestMetadata("ImplementVarInJava.kt")
        public void testImplementVarInJava() throws Exception {
            runTest("testData/navigation/implementations/multifile/kotlinJava/ImplementVarInJava.kt");
        }
    }
}
